//
//  XL_NewsHeadView.h
//  OnePointDemo
//
//  Created by 薛磊 on 2018/7/4.
//  Copyright © 2018年 XL. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol HeadViewButtonDelegate <NSObject>

@optional

-(void)headViewClickButton:(UIButton *)button;

@end

@interface XL_NewsHeadView : UIView


-(instancetype)initWithCreatViewArray:(NSArray *)array rect:(CGRect)rect;

-(void)btnClick:(UIButton *)button;

@property(nonatomic,weak) id <HeadViewButtonDelegate>delegate;

@end
